﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

using HolisticWare.VoIP.Getafisk.DLL_02BL_netfx35;
using HolisticWare.VoIP.Getafisk.DLL_01DA_netfx35.any_any_any;

namespace HolisticWare.VoIP.Getafisk.EXE_01PL_05netfx20.ASPnet.any_any_any
{
	/// <summary>
	/// Summary description for WebServiceGetafisk
	/// </summary>
	[WebService(Namespace = "http://www.holisticware.com/Getafisk")]
	[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
	[System.ComponentModel.ToolboxItem(false)]
	// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
	// [System.Web.Script.Services.ScriptService]
	public class WebServiceGetafisk : System.Web.Services.WebService
	{
		[WebMethod]
		public
			List<Extension>
			Extensions
			(
			)
		{
			return Extension.Extensions();
		}


		# region    Tests
		//-------------------------------------------------------------------------
		[WebMethod]
		public
			string
			Test_01_WebService
			(
			  string input
			)
		{
			DateTime dt = DateTime.Now;
			string retval = input + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");

			return retval;
		}
		//-------------------------------------------------------------------------
		[WebMethod]
		public
			string
			Test_02_DataBase
			(
			)
		{
			DataBase db = new DataBase();

			return db.DebugStatus;
		}
		//-------------------------------------------------------------------------
		# endregion Tests
	
	}
}
